<?php

namespace app\controller;

use app\controller\Request\TradePayNotifyRequest;
use Omnipay\Common\Message\RequestInterface;

class TradePayNotifyGateway extends AbstractGateway
{
    public function getName(): string
    {
        return "Trade Pay Notify";
    }

    public function purchase(array $options = array()): RequestInterface
    {
        return $this->createRequest(TradePayNotifyRequest::class, $options);
    }
}
